package com.ruoyi.house.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房源图片对象 yjz_house_image
 *
 * @author 码道可道
 * @date 2025-07-14
 */
@TableName(resultMap = "com.ruoyi.house.mapper.YjzHouseImageMapper.YjzHouseImageResult")
public class YjzHouseImage extends BaseEntity
        {
private static final long serialVersionUID = 1L;

        /** 主键 */
            @TableId(value = "id",type = IdType.AUTO)
        private Long id;

        /** 房源id */
                @Excel(name = "房源id")
        private Long houseId;

        /** 图片URL */
                @Excel(name = "图片URL")
        private String url;

        /** 排序 */
                @Excel(name = "排序")
        private Long sort;

        public void setId(Long id)
        {
            this.id = id;
        }

        public Long getId()
        {
            return id;
        }
        public void setHouseId(Long houseId)
        {
            this.houseId = houseId;
        }

        public Long getHouseId()
        {
            return houseId;
        }
        public void setUrl(String url)
        {
            this.url = url;
        }

        public String getUrl()
        {
            return url;
        }
        public void setSort(Long sort)
        {
            this.sort = sort;
        }

        public Long getSort()
        {
            return sort;
        }

@Override
public String toString() {
    return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
        .append("id", getId())
        .append("houseId", getHouseId())
        .append("url", getUrl())
        .append("sort", getSort())
            .toString();
}
        }